<template>
  <div>
    <el-table
        :data="componentTreeData"
        style="width: 100%; margin-bottom: 20px"
        row-key="id"
        border
        default-expand-all
    >
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="参数名称" align="center" prop="parameterName" />
      <el-table-column label="参数描述" align="center" prop="parameterDesc" />
      <el-table-column label="业务是否可见" align="center" prop="isFrontpageVisible" />
      <el-table-column label="参数类型" align="center" prop="parameterType"  />
      <el-table-column label="参数格式" align="center" prop="parameterFormat" />
    </el-table>
  </div>
</template>

<script lang="ts" setup>
import { ref} from "vue";




const componentTreeData=ref(
    [{"createBy":"admin","createTime":"2024-01-27 11:55:40","updateBy":"admin","updateTime":"2024-01-27 15:51:01","remark":null,"id":1,"parameterName":"person","parameterDesc":"人员信息","isFrontpageVisible":"N","parameterType":"object","parameterFormat":null,"parentId":null,"interfaceCode":null,"children":[{"createBy":"admin","createTime":"2024-01-27 15:44:04","updateBy":null,"updateTime":null,"remark":null,"id":2,"parameterName":"name","parameterDesc":"姓名","isFrontpageVisible":"Y","parameterType":"string","parameterFormat":null,"parentId":1,"interfaceCode":null,"children":[]},{"createBy":"admin","createTime":"2024-01-27 15:52:08","updateBy":"admin","updateTime":"2024-01-27 15:53:02","remark":null,"id":4,"parameterName":"education","parameterDesc":"学历","isFrontpageVisible":"Y","parameterType":"array","parameterFormat":null,"parentId":1,"interfaceCode":null,"children":[{"createBy":"admin","createTime":"2024-01-27 15:53:19","updateBy":null,"updateTime":null,"remark":null,"id":5,"parameterName":"juniorCollege","parameterDesc":"大专","isFrontpageVisible":"Y","parameterType":"object","parameterFormat":null,"parentId":4,"interfaceCode":null,"children":[{"createBy":"admin","createTime":"2024-01-27 15:53:59","updateBy":null,"updateTime":null,"remark":null,"id":6,"parameterName":"graduationSchool","parameterDesc":"毕业学校","isFrontpageVisible":"Y","parameterType":"string","parameterFormat":null,"parentId":5,"interfaceCode":null,"children":[]},{"createBy":"admin","createTime":"2024-01-27 15:54:47","updateBy":null,"updateTime":null,"remark":null,"id":7,"parameterName":"graduationDate","parameterDesc":"毕业时间","isFrontpageVisible":"Y","parameterType":"date","parameterFormat":"YYYY-MM","parentId":5,"interfaceCode":null,"children":[]}]}]}]}]
);



</script>

<style scoped>

</style>
